<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<script>
  const buffer = new ArrayBuffer(100)
  const data = new DataView(buffer, 0, buffer.byteLength)

  buffer[0] = -1

  console.log(data.getFloat32())
  console.log(data)
</script>
</body>
</html>